package com.dao.menu;

import com.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    public List<Menu> getAllMenus(int rolePid);//获所有菜单
    public List<Menu> getMainMenus(int rolePid);//获取主菜单
    public List<Menu> getSubMenus(Menu menu);//获取子菜单
}
